package com.syf.mappers;

import com.syf.domain.AdminBank;
import com.syf.dto.AdminBankDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author syf
 * @create 2021-11-15 16:27
 */
@Mapper(componentModel = "spring")
public interface AdminBankDtoMappers {

    AdminBankDtoMappers INSTANCE = Mappers.getMapper(AdminBankDtoMappers.class);

    AdminBank toConvertEntity(AdminBankDto source);
    AdminBankDto toConvertDto(AdminBank source);

    List<AdminBank> toConvertEntity(List<AdminBankDto> source);
    List<AdminBankDto> toConvertDto(List<AdminBank> source);

}
